from fdfs_client.client import Fdfs_client, get_tracker_conf

tracker_path = get_tracker_conf('client.conf')
client = Fdfs_client(tracker_path)

# 上传
ret_upload = client.upload_by_filename('client.conf')
print(ret_upload)